package com.pi;


import com.pi.config.auditing.JpaAuditingHandlerRegister;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.datatables.repository.DataTablesRepositoryFactoryBean;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@EnableCaching
@EnableJpaRepositories(repositoryFactoryBeanClass = DataTablesRepositoryFactoryBean.class)
//@EnableAutoConfiguration(excludeName={"com.pi.scs.edi.config.ScsEdiJobConfig"})
@EnableJpaAuditing
@Import(JpaAuditingHandlerRegister.class)
public class XcmgAmWasWebApplication {

	public static void main(String[] args) {
		SpringApplication.run(XcmgAmWasWebApplication.class, args);
	}

}
